package com.lucky.carcodepro.interceptor;

import java.util.concurrent.TimeUnit;

/**
 * CacheTimeOut
 * <p>
 * 描述：
 *
 * @author Annie
 * @version 2024/10/7 16:15
 */
public sealed interface CacheTimeOut extends CacheNoTimeOut permits CacheTimeOutImpl
{
    public <T> void setCacheObject(final String cacheName, final String key, final T value, final long timeout,
                                   final TimeUnit timeUnit);
}
